package com.cx.robot.controller;

import com.cx.robot.service.TestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: Kirk.Ke
 * @Description: 描述
 * @Date Created in 2022-01-27 14:33
 */
@RestController
public class RobotController {

    @Autowired
    private TestService testService;


    @RequestMapping("/robot")
    public String getRobot() throws Exception {
        testService.reminder();
        return "Ok";
    }

    @RequestMapping("/test")
    public String test() {
        return "SUCCESS";
    }
}
